package com.akkainaction.helloactor.demo;

import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import com.akkainaction.helloactor.actor.PropsDemoActor;

public class CreateActorByFactory {

    public static void main(String[] args) {
        ActorSystem system = ActorSystem.create("sys");
        ActorRef ref = system.actorOf(PropsDemoActor.createProps(),"propsActor");
    }
}
